<h1>Edit profile</h1>

<%= form_for :user, :url => {:action => "edit"} do |f| %>


<label for="user_first_name">First Name</label><br/>
<%= text_field "user", "first_name",  :size => 20 %><br/>

<label for="user_middle_name">Middle Name</label><br/>
<%= text_field "user", "middle_name",  :size => 20 %><br/>

<label for="user_last_name">Last Name</label><br/>
<%= text_field "user", "last_name",  :size => 20 %><br/>

<label for="user_phone_num">Phone Number</label><br/>
<%= text_field "user", "phone_num",  :size => 20 %><br/>

<label for="user_address">Address</label><br/>
<%= text_field "user", "address",  :size => 20 %><br/>

<label for="user_alt_email">Alternate Email</label><br/>
<%= text_field "user", "alt_email",  :size => 20 %><br/>


<%= submit_tag "Save" %>

<% if flash[:notice] != nil %>
	<%= flash[:notice] %>
<% end %>

<% if flash[:warning] != nil %>
	<%= flash[:warning] %>
<% end %>


<% end %>